package com.lovegu.object.middle;

/**
 * @author 老顾
 * @title: Student2
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/21 8:26
 */
public class Student2 extends Person2{
    protected String name = "李四";
    private String school = "New Oriental";
    public String getSchool() {
        return school;
    }
    @Override
    public String getInfo() {
        return super.getInfo() + "\nschool: " + school;
    }
}
